package com.yinian.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * @author yu_chen
 * @date 2018/3/23 17:37
 */
@Data
public class Message {

    /**
     * 主键ID
     */
    @Id
    private String id;

    /**
     * 内容
     */
    private String content;

    public Message() {
    }

    public Message(String content) {
        this.content = content;
    }
}
